using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace BW.WMS.WareHouseManage.Dtos
{
    /// <summary>
    /// 添加库区DTO
    /// </summary>
    public class AddZoneDto
    {
        /// <summary>
        /// 所属仓库ID
        /// </summary>
        [Required]
        public Guid WarehouseId { get; set; }
        
        /// <summary>
        /// 库区名称
        /// </summary>
        [Required]
        [StringLength(100)]
        public string Name { get; set; }
        
        /// <summary>
        /// 库区类型 (1-普通区，2-冷藏区，3-危险品区，4-贵重品区)
        /// </summary>
        public int ZoneType { get; set; } = 1;
        
        /// <summary>
        /// 状态 (0-停用，1-启用)
        /// </summary>
        public int Status { get; set; } = 1;
        
        /// <summary>
        /// 描述
        /// </summary>
        [StringLength(500)]
        public string Description { get; set; }

        /// <summary>
        /// 面积（平方米）
        /// </summary>
        public decimal Area { get; set; }
    }
} 